package com.xinruke.hostels.reservation.interfaces.dto.pms;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinruke.hostels.common.vo.query.BaseQueryVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ChenXiangpeng
 * @ClassName BookingQueryByHotelIdDTO
 * @date：2019/7/31
 * @version: V1.0.0
 * @description：
 */
@ApiModel("预订根据酒店ID查询请求所需数据")
@Data
public class BookingQueryByHotelIdDTO extends BaseQueryVO {
    @ApiModelProperty("酒店ID")
    private Byte jiudianId;

    @ApiModelProperty(value = "手机号/姓名/证件号")
    private String phoneNameNo;

    @ApiModelProperty(value = "状态：1已提交；2已入住；3已完成（离店）；9取消；")
    private Byte zhuangtai;

    @ApiModelProperty(value = "房型id")
    private Integer fangxingId;

    @ApiModelProperty(value = "房间号")
    private String fangjianhao;

    @ApiModelProperty(value = "预订类型:1个人；2团体")
    private Byte yudingleixing;

    @ApiModelProperty(value = "预订人姓名")
    private String yudingrenxingming;

    @ApiModelProperty(value = "团队名称")
    private String tuanduimingcheng;

    @ApiModelProperty(value = "预订人电话")
    private String yudingrendianhua;

    @ApiModelProperty(value = "证件类型")
    private Byte zhengjianleixing;

    @ApiModelProperty(value = "证件号")
    private String zhengjianhao;

    @ApiModelProperty(value = "预住时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijianStart;

    @ApiModelProperty(value = "预住时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhushijianEnd;

    @ApiModelProperty(value = "预离时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijianStart;

    @ApiModelProperty(value = "预离时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date likaishijianEnd;

    @ApiModelProperty(value = "预订日期开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijianStart;

    @ApiModelProperty(value = "预订日期结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijianEnd;

    @ApiModelProperty(value = "订单号")
    private String dingdanhao;

    @ApiModelProperty(value = "来源:1网站；2前台")
    private Byte laiyuan;
}
